use dioxus::prelude::*;

#[derive(Props, PartialEq, Clone)]
pub struct MainContentProps {
    children: Element,
}

#[component]
pub fn MainContent(props: MainContentProps) -> Element {
    rsx! {
        main { class: "main-content",
            {props.children}
        }
    }
}
